import request from '@/utils/request';
import { stringify } from 'qs';

//快捷查询列表
export function getQuickSearchList(params) {
  return request(`/new-common/quickSearch/config/list?${stringify(params)}`);
}

//新增快捷查询
export function addQuickSearchOp(params) {
  return request(`/new-common/quickSearch/config/save`, {
    method: 'POST',
    data: params,
  });
}

//删除快捷查询
export function delQuickSearchOp(params) {
  return request(`/new-common/quickSearch/config/del?${stringify(params)}`);
}